package com.flyme.module.order.client.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.egzosn.pay.common.api.PayMessageHandler;
import com.egzosn.pay.common.api.PayMessageInterceptor;
import com.flyme.common.core.model.ResultBody;
import lombok.experimental.Accessors;
import javax.servlet.http.HttpServletRequest;

/**
 * 订单
 *
 * @author zyf
 * @date 2019-1-15
 */
@Accessors(chain = true)
@TableName("odr_order")
public interface PayBeforeHandler extends PayMessageInterceptor, PayMessageHandler {

    ResultBody addOrder(HttpServletRequest request, OrderInfo orderInfo);
    MyPayOrder getPayOrder(HttpServletRequest request);

}
